{{ resize$ | async }}
<div class="ssh-container">
	<div #terminalRef></div>
</div>
<ng-template #loginRef>
	<div class="modal-header">
		SSH登录
	</div>
	<div class="modal-body">
		<form id="loginForm" [formGroup]="loginForm" (ngSubmit)="login()">
			<div class="form-group">
				<label for="ldap_username">终端用户名</label>
				<input
					id="ldap_username"
					type="text"
					autocomplete="new-username"
					class="form-control"
					formControlName="username"
				/>
			</div>
			<div class="form-group">
				<label for="ldap_password">终端密码</label>
				<input
					id="ldap_password"
					type="password"
					autocomplete="new-password"
					class="form-control"
					formControlName="password"
				/>
			</div>
		</form>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" form="loginForm">登录</button>
	</div>
</ng-template>
